div.login {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-tag,
.form-locality,
.centered-box
{
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.bg-primary,
.bg-success,
.bg-info,
.bg-warning,
.bg-danger {
    padding: 15px;
}

ul.errors {
    color: red;
}

label.required:after {
    content: " *";
}

label.with-dependency:after {
    content: "\2666";
    vertical-align: super;
    font-size: .8em;
}

.typeahead,
.tt-query,
.tt-hint {
  width: 396px;
  height: 30px;
  padding: 8px 12px;
  font-size: 24px;
  line-height: 30px;
  border: 2px solid #ccc;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  outline: none;
}

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #0097cf;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

.tt-dropdown-menu {
  width: 422px;
  margin-top: 12px;
  max-height: 150px;
  overflow-y: auto;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 18px;
  line-height: 24px;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion p {
  margin: 0;
}

/* https://github.com/twitter/typeahead.js/issues/1052 */
.tt-input::-ms-clear {
  display: none;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
  }
  /* IE 6 doesn't support max-height
   * we use height instead, but this forces the menu to always be this tall
   */
* html .ui-autocomplete {
    height: 200px;
}

input[type='text'].ui-autocomplete-loading {
    background: url('/images/ajax-loader.gif') no-repeat right center;
}

.documentation {
    width: 100%;
}

.documentation pre {
    border: 0;
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
    background-color: transparent;
}

.top-spacing {
    margin-top:20px;
}

.row p.modalText {
    margin-left:15px;
}

.btn-group-custom {
    margin-bottom: 15px;
}

ul.guides {
    list-style: none;
}

ul.guides li {
    margin: 0 0 5px 0;
}

/***************************
****************************
LANDING PAGE
****************************
***************************/

.title .highlight {
    display: inline;
    background: none repeat scroll 0% 0% #EE4035;
    color: #009EE0;
    padding: 0.25em;
    line-height: 1.4em;
}

h1.title .highlight {
    background: white;
    font-size: 1.4em;
    letter-spacing: -1px;
}

/***************************
****************************
Notice-board
****************************
***************************/
div.notice-board ul {
    list-style-type: none;
    padding: 0;
}

div.notice-board li {
    margin: 5px 0;
}

div.notice-board div.read-more {
    text-align: right;
    margin: 0;
    padding: 0;
}

article.notice-board-post h3 {
    color: #000000!important;
}
/***************************
****************************
NAV
****************************
***************************/
.navbar-brand {
    padding: 12px 15px!important;
    position: relative;
    display: inline-block;
}

.navbar-brand:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left:0;
}

.navbar-brand object {
    width: 108px;
    height: 32px;
}

.navbar-default {
    background-color: #F3F3F4 !important;
    background-image: none!important;
    margin-bottom: 0;
}



/***************************
****************************
NAV tabs
****************************
***************************/

.nav-tabs-container ul.nav-tabs {
    width: auto!important;
}

#myScrollspy ul.nav-tabs {
    width: auto;
}

.navbar-right {
    margin-right: 0px !important;
}

.navbar-brand {
    height: 55px!important;
}
.tabpanel .nav-tabs .
.tab-content #icl {
    margin-top: 5px;

}
.tab-content #icl .panel-default {
    border: 0;
}

.tab-content #icl .panel-default .panel-heading {
    background-image: none;
    background-color: #ffffff;
}

.tab-content #icl a.info-popup {
    color: #337ab7;
}
.tab-content #icl .popover-content {
    width: 320px;
}

.nav-tabs > li {
    float: none;
    display: inline-block;
    text-align: center;
}

.nav-stacked.nav-tabs > li {
    display: block;
    text-align: inherit;
}

@media (min-width: 1550px) {
    .nav-tabs > li > a br {
        display: none;
    }
}

/***************************
****************************
Forms
****************************
***************************/
.frames-search .form-inline .form-control {
    width: 100% !important;
}

.frames-search .ui-accordion .ui-accordion-content {
    padding: 1em;
}

.frames-search .ui-accordion .ui-accordion-content select.form-control {
    width: 100%;
}

.form-control{
    max-width: 41em;
}

.chosen-container {
    max-width: 44em;
}

#form_import_xml #xml {/*
    padding-bottom: 2.7em;*/
    padding-bottom: 0;
}

@-moz-document url-prefix() {
    #form_import_xml #xml {
        padding-bottom: 2.7em;
    }
}

#form_import_xml fieldset:nth-child(2) {
    position: absolute;
    width: 300px;
}
#form_import_xml fieldset:nth-child(3) {
    margin-top: 20px;
}

#form_import_xml fieldset:nth-child(2) .element input {
    position: absolute;
    width: 18px;
    height: 18px;
}
#on_route-label, #on_route-element {
    float: left;
    height: auto;
    margin-top: 1em;
}

#on_route-label label {
    margin-right: 0.2em;
}

#form_import_xml fieldset:nth-child(2) label {
    margin-top: 0.2em;
    margin-left: 1.5em;
    position: absolute;
}

ul.token-input-list-facebook,
.chosen-container-multi .chosen-choices{
    border: 1px solid #CCC !important;
    width: 100%!important;
    max-width: 47.7em;
    border-radius: 4px;
    height: auto!important;
    margin-bottom: 0.5em!important;
    font-size: 14px;
}

button.select-all {
    margin-bottom: 5px;
}

form[name="display-fields-settings"] input[type="checkbox"] {
    height: 15px;
    margin-bottom: 10px;
    border: 0 none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: auto;
}
/***************************
****************************
PANELS
****************************
***************************/
div.panel.media-owner-attrs div.panel-heading {
    background: unset;
}

div.panel.media-owner-attrs div.panel-heading h3.panel-title {
    color: #333!important;
    font-weight: 600;
}
/***************************
****************************
HEADERS
****************************
***************************/
h1, h2, h3 {
    color: #009EE0!important;

}

/***************************
****************************
BUTTONS
****************************
***************************/
.approval_primary, .approval_success, .approval_danger  {
    background:transparent;
    color: #009EE0;
    padding: 3px 6px;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid #009EE0;
    border-radius: 4px;
}

.approval_success {
    color: #5cb85c;
    border: 1px solid #5cb85c;
}

.approval_danger {
    color: #d9534f;
    border: 1px solid #d9534f;
}

/***************************
****************************
ACCORDION
****************************
***************************/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background-image: none!important;
    color: #5E5E5E !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    background-color: #009EE0 !important;
    color: #ffffff !important;
    font-weight: bold!important;
}

.filter-buttons {
    margin: 1em 0;
}

.faq {
    margin: 0 0 50px 0;
    padding-top: 10px;
}

.faq .ui-widget-content a {
    color: #337ab7;
    text-decoration: underline;
}

h3.section-title {
    margin-top: 30px;
    color: #000!important;
    margin-bottom: 0;
    font-size: 1.5em;
}

.contact-us .fa {
    font-size: 1.5em;
    margin-right: 5px;
}
/***************************
****************************
documentation
****************************
***************************/

.size-tolerance .info-text {
    margin: 15px 0;
}

.size-tolerance .info-text table.example {
    margin: 15px 30px;
}


.size-tolerance .info-text table.example td {
    padding-right: 40px;
}

/***************************
****************************
Modal dialog
****************************
***************************/
#modal-display-fields .modal-dialog {
    overflow-y: initial !important
}

#modal-display-fields .modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

#modal-display-fields .modal-body table {
    width: 100%;
    margin: 0 10px;
}

#modal-display-fields .modal-body table td:nth-child(1)
{
    width: 350px;
}

#modal-display-fields .modal-body table td:nth-child(2)
{
    width: 120px;
}

#modal-display-fields .modal-body table td:nth-child(3)
{
    width: 100px;
}

#modal-display-fields button.select-all {
    width: 100px;
}

/***************************
****************************
Table
****************************
***************************/
.download-box {
    text-align: right;
    display: inherit !important;
}

.tab-pane .download-box {
    margin-top: 10px;
}

.download-box .btn[disabled] {
    pointer-events: all !important;
}

.fa-landing .fa {
    font-size: 5em;
    margin-bottom: 0.3em; color:#888;
}

.btn-bottom #submit {
    width: auto!important;
}

.grey-box {
    border: 1px solid rgb(225, 230, 221);
    background-color: #EFEFEF;
    padding: 5%;
}

.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
    max-width: inherit!important;
    float: right;
}

.carousel-caption {
    top: 35px;
    text-align: left!important;
    text-shadow: none!important;
}

.hero-image {
    padding-right: 0!important;
    padding-left: 0!important;
}
.sub-section {
    margin-top: 4em;
}

table.pending tbody tr td {
    padding: 4px;
}

table.pending td.pending {
    background-color: #ff884f;
    border-left:1px solid #ffffff;
    border-bottom:1px solid #ffffff;
}

.footer {
    font-size: 0.85em;
    color: #888;
    padding-top: 1.40em;
    padding-bottom: 2em;
    margin-top: 2em;
    border-top: 1px solid #E7E7E7;
    background-image: url("/images/adwanted_a.png");
    background-position: 10px 15px;
    background-repeat: no-repeat;
    background-size: 55px;
    padding-left: 6em!important;
}

/***************************
****************************
Tree menu
****************************
***************************/
.jstree .jstree-checkbox {
    display: none;
}

.jstree-default .jstree-ocl,
.jstree-default .jstree-icon {
    background: transparent;
    font-style: normal;
}

.jstree-default .jstree-ocl:before,
.jstree-default .jstree-icon:before {
    font-family: "Font Awesome 5 Pro", "FontAwesome", FontAwesome;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.jstree-default .jstree-node, .jstree-default .jstree-icon {
    background: transparent;
}

.jstree-default .jstree-ocl:before {
    content: "\f054";
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.jstree-default .jstree-leaf > .jstree-ocl:before {
    content: "";
    opacity: 0.4;
}

.jstree-default .jstree-open > .jstree-ocl:before {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.jstree-default .jstree-themeicon:before {
    content: "\f10c";
    font-family: "Font Awesome 5 Pro", "FontAwesome", FontAwesome;
}

.jstree-default .jstree-undetermined + .jstree-themeicon:before {
    content: "\f05d";
}

.jstree-default .jstree-clicked > .jstree-themeicon:before {
    content: "\f058";
}

.jstree-default .jstree-themeicon.jstree-file:before {
    content: "\f1db";
    font-weight: 100;
}

.jstree-default .jstree-clicked > .jstree-themeicon.jstree-file:before {
    content: "\f192";
    font-weight: 100;
}

/***************************
****************************
Media queries
****************************
***************************/
@media only screen and (min-width: 1280px){
    .uppercase {
        text-transform: uppercase;
    }

    .login-button {
        padding-bottom: 7px!important;
        margin-top: 9px;
        background-color: transparent!important;
        padding-top: 7px!important;
    }

    .login-button:hover {
        background-color: #009EE0!important;
        color: #fff!important;

    }

    .welcome-mobile {display: none ;}

	.width70 {
	width:70%;
	}
}

@media (min-width: 992px) and (max-width: 1199px)  {
    .carousel-caption {
        top: 35px;
        text-align: left!important;
        text-shadow: none!important;
    }

    .login-button {
        padding-bottom: 7px!important;
        margin-top: 9px;
        background-color: transparent!important;
        padding-top: 7px!important;
    }

    .login-button:hover {
        background-color: #009EE0!important;
        color: #fff!important;
    }

    .welcome-mobile {display: none ;}

	.width70 {
	width:70%;
	}
}

@media (min-width: 768px) and (max-width: 991px){
    .hero-image {
        background-position: 80% top;
        background-position: 80% top;
        padding-right: 0!important;
        padding-left: 0!important;
    }

    .navbar-nav>li>a {
        padding-top: 17px;
        padding-bottom: 18px;
    }

    .login-button {
        padding-bottom: 7px!important;
        margin-top: 9px;
        background-color: transparent!important;
        padding-top: 7px!important;

    }

    .login-button:hover {
        background-color: #009EE0!important;
        color: #fff!important;
    }

    .welcome-mobile {display: none ;}

	.width70 {
	width:70%;
	}
}

@media only screen and (max-width: 767px) {
    .hero-image {
        background-position: 80% top;
    }

    .carousel-caption {
        top: 85px;
        text-shadow: none!important;
    }

    h1.title .highlight {
        font-size: 110%;
    }

    .title .highlight { font-size: 80%;}

    .login-button {
        margin-top: 9px;
        background-color: transparent!important;
        width: 76px;
        margin-left: 15px !important;
        padding: 6px 5px;
    }
    .welcome-mobile {display: none ;}
}

@media (max-width: 480px) {
    h1.title {
        margin-bottom: 0;
    }

    h1.title .highlight {
        font-size: 94%;
        padding-left: 0;
    }

    h3.title {
        margin: 0px;
        font-size: 201%;
        line-height: 0px;
        font-weight: bold;}

    .title .highlight { font-size: 60%; padding: 0;}

    .carousel-caption {top: 6px; display:none;}

    .carousel-inner > .item > a > img, .carousel-inner > .item > img,
    .img-responsive, .thumbnail a > img, .thumbnail > img {
        max-width: 320% !important;
    }

    .login-button {
        margin-top: 9px;
        background-color: transparent!important;
        width: 76px;
        margin-left: 15px !important;
        padding: 6px 5px;
    }

    .welcome-mobile {display: inherit ;}

    .sub-section,
    .sub-section div {
        padding-right: 0px!important;
        padding-left: 0px!important;
    }
}

.coordinate-input {
    width: 79% !important;
    display: inline-block;
}

/* Ensure that placeholder text is not changed by a text-transform */
::-webkit-input-placeholder {
    text-transform: initial;
}

:-moz-placeholder {
    text-transform: initial;
}

::-moz-placeholder {
    text-transform: initial;
}

:-ms-input-placeholder {
    text-transform: initial;
}

div#filter-linked-assets input[type="text"] {
    width: 230px;
}

div#filter-restricted-assets input[type="text"] {
    width: 260px;
}

form.form-inline div.filter-accordion input[type="text"] {
    width: 100%;
}

div.filter-accordion input#change_ownership_start,
div.filter-accordion input#change_ownership_end,
div#filter-linked-assets input[type="text"],
div#filter-restricted-assets input[type="text"],
input#spot_length_range_max,
input#break_length_range_max,
input#share_time_range_max {
    margin-top: 10px;
}

#mainFilterOptions .more-filters-control {
    text-align: center;
    padding: 1rem;
}
#mainFilterOptions .more-filters-control a:after {
    content: "\2304";
    position: absolute;
    transition: all 200ms;
    margin-top: -8px;
    font-size: 20px;
}
#mainFilterOptions .more-filters-control a.is-shown:after {
    transform: rotate(-180deg);
    margin-top: 0;
}

#mainFilterOptions .production-specs {
    max-height: 500px;
    overflow-y: auto;
}

#mainFilterOptions .production-specs .production-spec-attribute {
    margin-bottom: 10px;
}

#mainFilterOptions .production-specs .production-spec-attribute ul.token-input-list-facebook,
#mainFilterOptions .production-specs .production-spec-attribute select,
#mainFilterOptions .production-specs .production-spec-attribute input {
    width: calc(100% - 10px) !important;
}

#mainFilterOptions .production-specs .production-spec-attribute label {
    display: block;
    font-weight: 500;
}
#mainFilterOptions .production-specs .production-spec-attribute label.json {
    float: left;
    margin-top: 7px;
}

#mainFilterOptions .production-specs .production-spec-attribute label.json + button {
    margin-right: 10px;
}

#mainFilterOptions .production-specs .production-spec-attribute label:after {
    content: ":";
}

div.filter-accordion div.prohibitions_proximity_select,
div.filter-accordion div.town_select,
div.filter-accordion div.locality_select {
    overflow: initial!important;
}

form#form_frame div#categories_tree{
    height: 350px;
    overflow: auto;
    border: 1px solid
    #999;
    border-radius: 4px;
    opacity: 1;
    box-shadow: inset 0 1px 1px
    rgba(0,0,0,.075);
}

div.filter-accordion span.filter-active {
    position:absolute;
    right:5px;
}

label[for=change_ownership_start],
label[for=change_ownership_end] {
    margin: 0;
    padding: 0;
}

/* Widths for the data check table */
th.data-check-name {
    width: 20%;
}

th.data-check-description {
    width: 40%;
}

th.data-check-results,
th.data-check-last-updated {
    width: 15%;
}

th.data-check-actions {
    width: 10%;
}
/***************************
****************************
Colors
****************************
***************************/
.green {
    color: limegreen;
}
.orange {
    color: orangered;
}
.red {
    color: red;
}
.blue {
    color: deepskyblue;
}


/***************************
****************************
GLOSSARY PAGE
****************************
***************************/
.glossary-content dt {
    width: 100%;
    display: block;
    font-weight: 600;
    color: #189dd8;
}
.glossary-content dd {
    display: block;
    margin-bottom: 33px;
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.5em;
}

.glossary-search .form_item {
    margin-bottom: 1em;
}

.glossary-search .form_item:last-child {
    margin-bottom: 0;
}


/***************************
****************************
ADVERTISER / BRAND
****************************
***************************/

.modal-dialog #form_client_brand fieldset {
    margin: 0 0 10px;
}

.select-possible-duplicates {
    position: absolute;
    display: none;
    max-height: 200px;
    width: calc(100% - 30px);
    overflow-x: visible;
    overflow-y: auto;

    border: 1px solid #cdcdcd;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f2f2f2+0,ffffff+73 */
    background: linear-gradient(135deg,  rgba(242,242,242,1) 0%,rgba(255,255,255,1) 73%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.select-possible-duplicates label {
    display: block;
    padding: .5rem;
    margin: 0;
    padding: .2rem .5rem;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.select-possible-duplicates label.active {
    background-color: #009EE0;
    color: #fff;
}

.select-possible-duplicates label:hover,
.select-possible-duplicates label:focus {
    background-color: #d9edf7;
    cursor: pointer;
}

.select-possible-duplicates label.active:hover,
.select-possible-duplicates label.active:focus {
    color: inherit;
}

.select-possible-duplicates label input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.tab-pane .with-tooltip {
    cursor: help;
}
.tab-pane .with-tooltip:after {
    content: "?";
    font-style: normal;
    font-weight: 600;
    vertical-align: super;
    border: 1px solid #337ab7;
    color: #337ab7;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    font-size: 10px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    position: absolute;
    margin-left: 0.5rem;
}

.no-edit {
    cursor: not-allowed;
}
.edit-from {
    font-style: italic;
    text-decoration: line-through;
    padding-right: .5ch;
    vertical-align: middle;
    letter-spacing: .05ch;
}
.edit-from:after {
    content: "=>";
    font-family: monospace;
    display: inline-block;
    font-weight: 600;
    margin-left: 1ch;
    vertical-align: middle;
    font-style: normal;
}
.edit-to {
    vertical-align: middle;
}

.formForElementProductionSpec .add-production-spec {
    float: right;
    margin-top: -3px;
    font-size: 1.1rem;
    line-height: 1.1rem;
}

.formForElementProductionSpecExemptionReason .toggle-exemption-reason {
    margin-left: .5em;
}

.data-check-1025 .exemption_reason {
    min-width: 33%;
}